﻿using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;

namespace Contrib.Chapters.Models {
    public class TocWidgetPart : ContentPart<TocWidgetPartRecord> {
        [Required]
        public BookPartRecord BookPartRecord {
            get { return Record.BookPartRecord; }
            set { Record.BookPartRecord = value; }
        }
    }
}
